Blitz (39/40)

From:David McMinn
Date:29 Sep 2001 at 20:28:04
Subject:Re: Color Remapping and Datatypes ?

Sven Dröge says the moon is made of cheese, but it's actually made of Color Remapping and Datatypes ?

> I have attached an code section that displays a picture at startup of my
> program. It uses datatypes but does not make any remapping. So the
> picture is only drawn correctly on 24bit WBScreens. Is there any way to
> do a remapping via datatypes ? Or do I have to make it myway ?

You should be able to get the datatypes system to remap the image. IIRC
you specify the screen and it all works nicely.

I haven't looked at your source, but when you create the new datatype
object you should be able to specify a taglist. You should specify tags
for PDTA_Remap,TRUE and PDTA_Screen,Pointer to destination screen.

Bye



[) /\ \/ ][ [) |\/| © |\/| ][ |\| |\| | dave@blitz-2000.co.uk
http://david_mcminn.port5.com | ICQ = 16827694
Director of large multi-national during the week.
Transexual prostitute called Gill Bates at the weekend.

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie